package data.obj;

import java.util.ArrayList;

public class CriticalResult
{
	int roll;
	String severity;	
	int hit = 0;
	int hitRound = 0;
	ArrayList<Penalty> penalty = new ArrayList<Penalty>();
	int mustParryRounds = 0;
	int stunnedRounds = 0;
	int unableToParry = 0;
	boolean death = false;
	
	public CriticalResult()
	{
		
	}
	
	public CriticalResult(int roll, String severity, int hit, int hitRound, ArrayList<Penalty> penalty, int mustParryRounds, int stunnedRounds,
            int unableToParry, boolean death)
    {
	    super();
	    this.roll = roll;
	    this.severity = severity;
	    this.hit = hit;
	    this.hitRound = hitRound;
	    this.penalty = penalty;
	    this.mustParryRounds = mustParryRounds;
	    this.stunnedRounds = stunnedRounds;
	    this.unableToParry = unableToParry;
	    this.death = death;
    }

	@Override
    public String toString()
    {
	    return "CriticalResult [roll=" + roll + ", severity=" + severity + ", hit=" + hit + ", hitRound=" + hitRound + ", penalty=" + penalty
	            + ", mustParryRounds=" + mustParryRounds + ", stunnedRounds=" + stunnedRounds + ", unableToParry=" + unableToParry + ", death=" + death + "]";
    }

	public int getRoll()
	{
		return roll;
	}

	public void setRoll(int roll)
	{
		this.roll = roll;
	}

	public String getSeverity()
	{
		return severity;
	}

	public void setSeverity(String severity)
	{
		this.severity = severity;
	}

	public int getHit()
	{
		return hit;
	}

	public void setHit(int hit)
	{
		this.hit = hit;
	}

	public int getHitRound()
	{
		return hitRound;
	}

	public void setHitRound(int hitRound)
	{
		this.hitRound = hitRound;
	}

	public ArrayList<Penalty> getPenalty()
	{
		return penalty;
	}

	public void setPenalty(ArrayList<Penalty> penalty)
	{
		this.penalty = penalty;
	}

	public int getMustParryRounds()
	{
		return mustParryRounds;
	}

	public void setMustParryRounds(int mustParryRounds)
	{
		this.mustParryRounds = mustParryRounds;
	}

	public int getStunnedRounds()
	{
		return stunnedRounds;
	}

	public void setStunnedRounds(int stunnedRounds)
	{
		this.stunnedRounds = stunnedRounds;
	}

	public int getUnableToParry()
	{
		return unableToParry;
	}

	public void setUnableToParry(int unableToParry)
	{
		this.unableToParry = unableToParry;
	}

	public boolean isDeath()
	{
		return death;
	}

	public void setDeath(boolean death)
	{
		this.death = death;
	}
	
	

	
}
